package com.zc.kaoshi.mapper;

import com.zc.kaoshi.pojo.Kaoshi;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface KaoshiMapper {
//    @Select("SELECT * FROM T_KAOSHI WHERE IS_DELETE =0")
    List<Kaoshi> getall();
//    @Select("SELECT * FROM T_KAOSHI WHERE name like '%${ziname}%' and  type like '%${zitype}%' and statu like '%${zistatu}%' and zitime1 &gt; #{zitime1} and zitime2 &lt; #{zitime2} AND IS_DELETE=0")
    List<Kaoshi> search(String ziname,String zitype,String zistatu,String zitime1,String zitime2);
    Integer inserzidian(Kaoshi kaoshi);
    Integer changezidian(Kaoshi kaoshi);
    Integer delzidian( Integer id);
    Integer delmany(List<Integer> ids);
}
